<link href="{{.DomainPath}}/static/admin/css/bootstrap-switch.css" rel="stylesheet" type="text/css">
<div class="row-fluid">
	<div class="block span12">
		<p class="block-heading">插件</p>
		<div class="block-body collapse in">
			<form method="POST">
				<table class="table">
					<thead>
					<tr>
						<th style="text-align:right;">Key</th>
						<th>Value</th>
					</tr>
					</thead>
					<tbody>
					<tr>
						<td style="text-align:right;">启用</td>
						<td>
						<div class="switch switch-small"><input type="checkbox" name="Enabled" value="true" {{if .Plugin.Enabled}}checked{{end}} /></div>
						</td>
					</tr>
					<tr>
						<td style="text-align:right;">数据</td>
						<td>
							<textarea name="Data">{{.Plugin.Data}}</textarea>
						</td>
					</tr>
					<tr>
						<td style="text-align:right;"></td>
						<td>
							<input type="submit" class="btn btn-primary" value="保存">
						</td>
					</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
</div>
<script src="{{.DomainPath}}/static/admin/js/bootstrap-switch.min.js" type="text/javascript" charset="utf-8"></script>